/*
 * 该样式提取自Typora编辑器Github主题样式
 */
.markdown-body :root {
	--side-bar-bg-color: #fafafa;
	--control-text-color: #777;
}

.markdown-body {
	font-size: 18px;
	font-family: "Open Sans", "Clear Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: rgb(51, 51, 51);
	line-height: 1.6;
	background-color: #fff;
}

.markdown-body #write {
	max-width: 860px;
	margin: 0 auto;
	padding: 30px;
	padding-bottom: 100px;
}

.markdown-body #write>ul:first-child,
.markdown-body #write>ol:first-child {
	margin-top: 30px;
}

.markdown-body kbd {
	display: inline-block;
	padding: 3px 5px;
	font: 11px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
	line-height: 10px;
	color: #444d56;
	vertical-align: middle;
	background-color: #fafbfc;
	border: 1px solid #d1d5da;
	border-radius: 3px;
	box-shadow: inset 0 -1px 0 #d1d5da;
}

.markdown-body img {
	width: 100%;
}

.markdown-body a {
	color: #4183C4;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
	position: relative;
	margin-top: 1rem;
	margin-bottom: 1rem;
	font-weight: bold;
	line-height: 1.4;
	cursor: text;
}

.markdown-body h1:hover a.anchor,
.markdown-body h2:hover a.anchor,
.markdown-body h3:hover a.anchor,
.markdown-body h4:hover a.anchor,
.markdown-body h5:hover a.anchor,
.markdown-body h6:hover a.anchor {
	text-decoration: none;
}

.markdown-body h1 tt,
.markdown-body h1 code {
	font-size: inherit;
}

.markdown-body h2 tt,
.markdown-body h2 code {
	font-size: inherit;
}

.markdown-body h3 tt,
.markdown-body h3 code {
	font-size: inherit;
}

.markdown-body h4 tt,
.markdown-body h4 code {
	font-size: inherit;
}

.markdown-body h5 tt,
.markdown-body h5 code {
	font-size: inherit;
}

.markdown-body h6 tt,
.markdown-body h6 code {
	font-size: inherit;
}

.markdown-body h1 {
	padding-bottom: .3em;
	font-size: 2.25em;
	line-height: 1.2;
	border-bottom: 1px solid #eee;
}

.markdown-body h2 {
	padding-bottom: .3em;
	font-size: 1.75em;
	line-height: 1.225;
	border-bottom: 1px solid #eee;
}

.markdown-body h3 {
	font-size: 1.5em;
	line-height: 1.43;
}

.markdown-body h4 {
	font-size: 1.25em;
}

.markdown-body h5 {
	font-size: 1em;
}

.markdown-body h6 {
	font-size: 1em;
	color: #777;
}

.markdown-body p,
.markdown-body blockquote,
.markdown-body ul,
.markdown-body ol,
.markdown-body dl,
.markdown-body table {
	margin: 0.8em 0;
}

.markdown-body li>ol,
.markdown-body li>ul {
	margin: 0 0;
}

.markdown-body hr {
	height: 2px;
	padding: 0;
	margin: 16px 0;
	background-color: #e7e7e7;
	border: 0 none;
	overflow: hidden;
	box-sizing: content-box;
}

.markdown-body ul>li {
	list-style-type: disc;
}

.markdown-body ol>li {
	list-style-type: decimal;
}

.markdown-body li p.first {
	display: inline-block;
}

.markdown-body ul,
.markdown-body ol {
	padding-left: 30px;
}

.markdown-body ul:first-child,
.markdown-body ol:first-child {
	margin-top: 0;
}

.markdown-body ul:last-child,
.markdown-body ol:last-child {
	margin-bottom: 0;
}

.markdown-body blockquote {
	border-left: 4px solid #dfe2e5;
	padding: 0 15px;
	color: #777777;
}

.markdown-body blockquote blockquote {
	padding-right: 0;
}

.markdown-body table {
	padding: 0;
	word-break: initial;
}

.markdown-body table tr {
	border-top: 1px solid #dfe2e5;
	margin: 0;
	padding: 0;
}

.markdown-body table tr:nth-child(2n),
.markdown-body thead {
	background-color: #f8f8f8;
}

.markdown-body table tr th {
	font-weight: bold;
	border: 1px solid #dfe2e5;
	border-bottom: 0;
	margin: 0;
	padding: 6px 13px;
}

.markdown-body table tr td {
	border: 1px solid #dfe2e5;
	margin: 0;
	padding: 6px 13px;
}

.markdown-body table tr th:first-child,
.markdown-body table tr td:first-child {
	margin-top: 0;
}

.markdown-body table tr th:last-child,
.markdown-body table tr td:last-child {
	margin-bottom: 0;
}

.markdown-body .CodeMirror-lines {
	padding-left: 4px;
}

.markdown-body .code-tooltip {
	box-shadow: 0 1px 1px 0 rgba(0, 28, 36, .3);
	border-top: 1px solid #eef2f2;
}

.markdown-body .md-fences,
.markdown-body tt {
	border: 1px solid #e7eaed;
	background-color: #f8f8f8;
	border-radius: 3px;
	padding: 0;
	padding: 2px 4px 0px 4px;
	font-size: 0.9em;
}

.markdown-body pre {
	white-space: pre;
	padding: 10px 15px;
	margin: 10px 0;
	font-size: 14px;
	border: 1px solid #ddd;
	font-family: Courier New;
	overflow-x: auto;
}

.markdown-body .md-fences {
	margin-bottom: 15px;
	margin-top: 15px;
	padding-top: 8px;
	padding-bottom: 6px;
}


.markdown-body .md-task-list-item>input {
	margin-left: -1.3em;
}

@media print {
	.markdown-body {
		font-size: 13px;
	}

	.markdown-body table,
	.markdown-body pre {
		page-break-inside: avoid;
	}

	.markdown-body pre {
		word-wrap: break-word;
	}
}

.markdown-body .md-fences {
	background-color: #f8f8f8;
}

.markdown-body #write pre.md-meta-block {
	padding: 1rem;
	font-size: 85%;
	line-height: 1.45;
	background-color: #f7f7f7;
	border: 0;
	border-radius: 3px;
	color: #777777;
	margin-top: 0 !important;
}

.markdown-body .mathjax-block>.code-tooltip {
	bottom: .375rem;
}

.markdown-body .md-mathjax-midline {
	background: #fafafa;
}

.markdown-body #write>h3.md-focus:before {
	left: -1.5625rem;
	top: .375rem;
}

.markdown-body #write>h4.md-focus:before {
	left: -1.5625rem;
	top: .285714286rem;
}

.markdown-body #write>h5.md-focus:before {
	left: -1.5625rem;
	top: .285714286rem;
}

.markdown-body #write>h6.md-focus:before {
	left: -1.5625rem;
	top: .285714286rem;
}

.markdown-body .md-image>.md-meta {
	/*border: 1px solid #ddd;*/
	border-radius: 3px;
	padding: 2px 0px 0px 4px;
	font-size: 0.9em;
	color: inherit;
}

.markdown-body .md-tag {
	color: #a7a7a7;
	opacity: 1;
}

.markdown-body .md-toc {
	margin-top: 20px;
	padding-bottom: 20px;
}

.markdown-body .sidebar-tabs {
	border-bottom: none;
}

.markdown-body #typora-quick-open {
	border: 1px solid #ddd;
	background-color: #f8f8f8;
}

.markdown-body #typora-quick-open-item {
	background-color: #FAFAFA;
	border-color: #FEFEFE #e5e5e5 #e5e5e5 #eee;
	border-style: solid;
	border-width: 1px;
}

/** focus mode */
.markdown-body .on-focus-mode blockquote {
	border-left-color: rgba(85, 85, 85, 0.12);
}

.markdown-body header,
.markdown-body .context-menu,
.markdown-body .megamenu-content,
.markdown-body footer {
	font-family: "Segoe UI", "Arial", sans-serif;
}

.markdown-body .file-node-content:hover .file-node-icon,
.markdown-body .file-node-content:hover .file-node-open-state {
	visibility: visible;
}

.markdown-body .mac-seamless-mode #typora-sidebar {
	background-color: #fafafa;
	background-color: var(--side-bar-bg-color);
}

.markdown-body .md-lang {
	color: #b4654d;
}

.markdown-body .html-for-mac .context-menu {
	--item-hover-bg-color: #E6F0FE;
}

.markdown-body #md-notification .btn {
	border: 0;
}

.markdown-body .dropdown-menu .divider {
	border-color: #e5e5e5;
}

.markdown-body .ty-preferences .window-content {
	background-color: #fafafa;
}

.markdown-body .ty-preferences .nav-group-item.active {
	color: white;
	background: #999;
}
